import os
import sys

def parent_path():
    localDir = os.path.dirname(__file__)
    curpath = os.path.normpath(os.path.join(os.getcwd(), localDir))
    grandparent = os.path.normpath(os.path.join(curpath, '../'))
    sys.path.insert(0, grandparent)